package com.qinggeng.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;

/**
 * 骑手数据统计对象 rider_statistics
 * 
 * @author qinggeng
 * @date 2020-06-30
 */
@Data
public class RiderStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 配送员ID */
    @Excel(name = "配送员ID")
    private Long riderId;

    /** 配送订单个数 */
    @Excel(name = "配送订单个数")
    private Long orderNum;

    /** 实际收入 */
    @Excel(name = "实际收入")
    private Double actualMoney;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private Double orderAllMoeny;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    //配送员头像
    private String avatar;
    //配送员昵称
    private String nickName;
    //配送员联系方式
    private String phonenumber;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRiderId() {
        return riderId;
    }

    public void setRiderId(Long riderId) {
        this.riderId = riderId;
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public Double getActualMoney() {
        return actualMoney;
    }

    public void setActualMoney(Double actualMoney) {
        this.actualMoney = actualMoney;
    }

    public Double getOrderAllMoeny() {
        return orderAllMoeny;
    }

    public void setOrderAllMoeny(Double orderAllMoeny) {
        this.orderAllMoeny = orderAllMoeny;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("riderId", getRiderId())
            .append("orderNum", getOrderNum())
            .append("actualMoney", getActualMoney())
            .append("orderAllMoeny", getOrderAllMoeny())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
